import request from '@/utils/request'

const modelApi = {
  ApprovalConfig: '/modelApi/modelApprovalConfig',
  SystemConfig: '/modelApi/systemConfig',
}

export function modelApprovalConfig(sub) {
  return request({
    url: modelApi.ApprovalConfig,
    method: 'put',
    data: sub,
    formData: true,
  })
}
export function systemConfig(parameter) {
  return request({
    url: modelApi.SystemConfig,
    method: 'get',
    data: parameter,
  })
}
